#ifndef __SYSPROC_H__

#define __SYSPROC_H__
#include "type.h"
void sysproc_exit(int status);
pid_t sysproc_getpid(void);
pid_t sysproc_getppid(void);
pid_t sysproc_clone(uint64_t flags, void * stack, pid_t ptid, uint64_t tls, pid_t ctid);
int sysproc_execve(char *path, char * argv, char *envp);
pid_t sysproc_wait4(pid_t pid, int * status, int options);
int sysproc_sched_yield(void);
address_t sysproc_times(void * mytimes);

#define SIGCHLD 17

#endif